Add Column

Command Prototype

Datatable.AddColumn(dtTable,column,iIndex,objDefaultValue)

Command Description

Add a column of data to the datatable

Parameter Description
Required Parameter
dtTable--The datatable with columns to be modified
column--The column name of the added data column
iIndex--The position of the column added to the datatable, if it is null, then add to the last column
objDefaultValue--Values to be filled in the column, can be an array or a single value

results matching ""

    No results matching ""